<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"  %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="pages"%>
<%@ taglib prefix="s" uri="/struts-tags"%>


<s:set var="text" value="%{#attr.text}" />
<s:if test="%{#attr.text == null}">
	<s:set var="text" value="rtl" />
</s:if>

<s:set var="alignleft" value="%{#attr.alignleft}" />
<s:if test="%{#attr.alignleft == null}">
	<s:set var="alignleft" value="left" />
</s:if>

<s:set var="alignright" value="%{#attr.alignright}" />
<s:if test="%{#attr.alignright == null}">
	<s:set var="alignright" value="right" />
</s:if>

<html xmlns="http://www.w3.org/1999/xhtml" dir="${text}">

	<head>
		<title>PrintPackPaper <decorator:title /></title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="Content-Language" content="en,fr,ar" />
		<meta name="description" content="<s:property value="#attr.configuration.defaultMetaDescription" />" />
		<meta name="keywords" content="<s:property value="#attr.configuration.defaultMetaKeywords" />" />


		<decorator:head />

	</head>

    <body dir="${text}">
    <s:set var="languageforcss" value="%{#attr.languageforcss" />
    <s:if test="%{#attr.text !=null && (#attr.text=='rtl' || #attr.text=='RTL')}">
    	<link href="css/styler.css" rel="stylesheet" type="text/css" />
    </s:if>
    <s:if test="%{#attr.text !=null && (#attr.text=='ltr' || #attr.text=='LTR')}">
    	<link href="css/style.css" rel="stylesheet" type="text/css" />
    </s:if>
		<div>

			<decorator:body></decorator:body>
		</div>
	</body>
</html>

